/**
 * 兑换课程
 * @param {*} body 
 * @returns 
 */
export const useDuhuanNoteApi = (code,noteId) => {
    return useHttpPost(`/v1/cnote/code/dh?noteId=${noteId}&code=${code}`,{})
}

/**
 * 学习币兑换课程
 * @param {*} body
 * @returns
 */
export const useDuhuanCoinNoteApi = (noteId) => {
    return useHttpPost(`/v1/cnote/coin/dh?noteId=${noteId}`,{})
}